package com.lhq.tag_tales.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 组队详情表
 * @TableName team_details
 */
@TableName(value ="team_details")
@Data
public class TeamDetails implements Serializable {
    /**
     * 组队详情主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户主键
     */
    private Long userId;

    /**
     * 队伍主键
     */
    private Long teamId;

    /**
     * 加入时间
     */
    private Date joinTime;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除：0-未删除，1-删除
     */
    @TableLogic
    private Integer isDelete;

    private static final long serialVersionUID = -1599672064522834950L;
}